package com.sondon.dev_info.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * @Project : Dev_Info_Web
 * @Package : com.sondon.dplus_shop.entity
 * @Class : Company.java
 * @Company 广州讯动网络科技有限公司
 * @Author : 蔡文锋
 * @DateTime：2015年4月24日 上午10:03:43
 * @Blog：http://blog.csdn.net/caiwenfeng_for_23
 * @Description : {Company 实体类}
 */
@Entity
public class Company {
	@Id
	// 自增长----数字
	@GeneratedValue(generator = "system-increment")
	@GenericGenerator(name = "system-increment", strategy = "increment")
	private int id;
	private String name;
	private String address;
	private String phone;
	private String email;
	private int create_time;
	private int update_time;

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress() {
		return address;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPhone() {
		return phone;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}

	public void setCreate_time(int create_time) {
		this.create_time = create_time;
	}

	public int getCreate_time() {
		return create_time;
	}

	public void setUpdate_time(int update_time) {
		this.update_time = update_time;
	}

	public int getUpdate_time() {
		return update_time;
	}
}
